package api

import "net/http"

var (
	HEADER_FIELD_SESSION = "X-Session-Id"
)

func ValidateUserSession(r *http.Request) bool {
	sid := r.Header.Get(HEADER_FIELD_SESSION)
	if len(sid) == 0 {
		return false
	}
	return true
}
